package com.coin.service;

import com.coin.domain.SysPrivilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 李力
 * @description 针对表【sys_privilege(权限配置)】的数据库操作Service
 * @createDate 2025-05-24 17:08:03
 */
public interface SysPrivilegeService extends IService<SysPrivilege> {

    /**
     * @Description: 根据角色查询所有的权限
     * @Author: 李 力
     * @Date: 2025/5/27
     * @Param: roleId
     * @return: List
     */
    List<SysPrivilege> getAllPermissions(Long menuId, Long roleId);
}
